package com.dsp.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.AccessType;

import com.core.util.BaseBean;

@Entity
@Table(name = "insure_programs")
public class InsureProgram extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5676502089035477720L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@AccessType(value = "property")
	@Column(name = "id")
	private Long id;

	@AccessType(value = "property")
	@Column(name = "insure_name")
	private String insureName;
	
	@AccessType(value = "property")
	@Column(name = "py_code")
	private String pyCode;
	
	@AccessType(value = "property")
	@Column(name = "company" )
	private Integer company;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the insureName
	 */
	public String getInsureName() {
		return insureName;
	}

	/**
	 * @return the pyCode
	 */
	public String getPyCode() {
		return pyCode;
	}

	/**
	 * @return the company
	 */
	public Integer getCompany() {
		return company;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param insureName the insureName to set
	 */
	public void setInsureName(String insureName) {
		this.insureName = insureName;
	}

	/**
	 * @param pyCode the pyCode to set
	 */
	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}

	/**
	 * @param company the company to set
	 */
	public void setCompany(Integer company) {
		this.company = company;
	}
}
